import request from '@/utils/request'

// 查询项目经费年度构成列表
export function listFunding_annual(query) {
  return request({
    url: '/system/funding_annual/list',
    method: 'get',
    params: query
  })
}

// 查询项目经费年度构成详细
export function getFunding_annual(annualId) {
  return request({
    url: '/system/funding_annual/' + annualId,
    method: 'get'
  })
}

// 新增项目经费年度构成
export function addFunding_annual(data) {
  return request({
    url: '/system/funding_annual',
    method: 'post',
    data: data
  })
}

// 修改项目经费年度构成
export function updateFunding_annual(data) {
  return request({
    url: '/system/funding_annual',
    method: 'put',
    data: data
  })
}

// 删除项目经费年度构成
export function delFunding_annual(annualId) {
  return request({
    url: '/system/funding_annual/' + annualId,
    method: 'delete'
  })
}
